#ifndef EXCEPTOBJECTS_H_INCLUDED
#define EXCEPTOBJECTS_H_INCLUDED

#include <exception>
#include <cstdlib>
#include <fstream>
#include <string>
#   define BOOST_FILESYSTEM_VERSION 3
#include <boost/filesystem.hpp>

namespace bfs = boost::filesystem;

namespace STLData {

    class libraryNotFound : public std::exception {
        public:
            ~libraryNotFound() throw() {};
            virtual const char* what() const throw()
            {
            return "Library's directory doesn't exist";
            }

            bfs::path libraryPath;

    };

    class fileNotFound : public std::exception {
        public:
            ~fileNotFound() throw() {};
            virtual const char* what() const throw()
            {
            return "Unable to open file or File not Found";
            }

            bfs::path filePath;

    };

}
#endif // EXCEPTOBJECTS_H_INCLUDED
